package com.wuyoucar.entity;

import java.io.Serializable;

/*
    车类型表(车系,车品牌,车型)
 */
public class TCartype implements Serializable {
    private Integer id ; //车系id
    private String  name;//车型名
    private Integer pid;//车品牌id
    private String  showname;//类型名称
    private Integer salestate;//在售状态(在售/停售)
    private Integer goid;//标识品种id(进口/国产)

    public TCartype() {
    }

    public TCartype(Integer id, String name, Integer pid, String showname, Integer salestate, Integer goid) {
        this.id = id;
        this.name = name;
        this.pid = pid;
        this.showname = showname;
        this.salestate = salestate;
        this.goid = goid;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getShowname() {
        return showname;
    }

    public void setShowname(String showname) {
        this.showname = showname;
    }

    public Integer getSalestate() {
        return salestate;
    }

    public void setSalestate(Integer salestate) {
        this.salestate = salestate;
    }

    public Integer getGoid() {
        return goid;
    }

    public void setGoid(Integer goid) {
        this.goid = goid;
    }

    @Override
    public String toString() {
        return "TCartype{" + "id=" + id + ", name='" + name + '\'' + ", pid=" + pid + ", showname='" + showname + '\'' + ", salestate=" + salestate + ", goid=" + goid + '}';
    }
}
